<?php 
class order_colmod{
    protected $colMod;
    function order_colmod()
    {
        $this->colMod=array(
            array(  
                "text"          =>"Order Date"            
                ,"datafield"    =>"OrderDate" 
                ,"width"        => 80    
                ,"cellsformat"  =>'yyyy-MM-dd'
                ),
            array(  
                "text"          =>"Name"            
                ,"datafield"    =>"ShipName" 
                //,"width"        => 180    
                ),
            array(  
                "text"          =>"Monney"            
                ,"datafield"    =>"Monney" 
                ,"type"         =>"number"
                ,"width"        => 80    
                ,"filtertype"   =>"number"  //textbox,checkedlist,list,number,checkbox,date
                ,"cellsalign"   =>"right"   
                ,"cellsformat"  =>'d'
                ),
            array(  
                "text"          =>"Status"            
                ,"datafield"    =>"Status" 
                ,"type"         =>"string"
                ,"columntype"   =>"dropdownlist"
                ,"width"        => 120    
                ,"filtertype"   =>"checkedlist"  
                ,"filteritems"    => array('New', 'Confirmed', 'Shipping','Canceled','Finished')
                ,"editable"     =>true
                ),
            array(  
                "text"          =>"Order ID"            
                ,"datafield"    =>"ID" 
                ,"width"        => 80  
                ,"hidden"       =>true
                ),
            array(  
                "text"          =>"Email"            
                ,"datafield"    =>"ShipEmail" 
                ,"hidden"       =>true  
                ),
            array(  
                "text"          =>"Phone"            
                ,"datafield"    =>"ShipPhone" 
                ,"hidden"       =>true      
                ),
            array(  
                "text"          =>"Note"            
                ,"datafield"    =>"ShipNote" 
                ,"hidden"       =>true      
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"Insert" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd'
                ,"hidden"     =>true
                ),
            array(  
                "text"          =>"Update"            
                ,"datafield"    =>"Update" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd'
                ,"hidden"       =>true
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"Delete" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd'
                ,"hidden"       =>true
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */